﻿using ResumeSharp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ResumeSharp.Data;
using System;
using System.Windows.Forms;

namespace ResumeSharp_Test
{
    
    
    /// <summary>
    ///This is a test class for LocationManagerTest and is intended
    ///to contain all LocationManagerTest Unit Tests
    ///</summary>
    [TestClass()]
    public class LocationManagerTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for UpdateLayout
        ///</summary>
        [TestMethod()]
        [DeploymentItem("ResumeBuilder.exe")]
        public void UpdateLayoutTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            LocationManager_Accessor target = new LocationManager_Accessor(param0); // TODO: Initialize to an appropriate value
            target.UpdateLayout();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for TextBox_TextChanged
        ///</summary>
        [TestMethod()]
        [DeploymentItem("ResumeBuilder.exe")]
        public void TextBox_TextChangedTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            LocationManager_Accessor target = new LocationManager_Accessor(param0); // TODO: Initialize to an appropriate value
            object sender = null; // TODO: Initialize to an appropriate value
            EventArgs e = null; // TODO: Initialize to an appropriate value
            target.TextBox_TextChanged(sender, e);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for splitMain_SplitterMoved
        ///</summary>
        [TestMethod()]
        [DeploymentItem("ResumeBuilder.exe")]
        public void splitMain_SplitterMovedTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            LocationManager_Accessor target = new LocationManager_Accessor(param0); // TODO: Initialize to an appropriate value
            object sender = null; // TODO: Initialize to an appropriate value
            SplitterEventArgs e = null; // TODO: Initialize to an appropriate value
            target.splitMain_SplitterMoved(sender, e);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for ResetForm
        ///</summary>
        [TestMethod()]
        [DeploymentItem("ResumeBuilder.exe")]
        public void ResetFormTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            LocationManager_Accessor target = new LocationManager_Accessor(param0); // TODO: Initialize to an appropriate value
            target.ResetForm();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for lstLocations_SelectedIndexChanged
        ///</summary>
        [TestMethod()]
        [DeploymentItem("ResumeBuilder.exe")]
        public void lstLocations_SelectedIndexChangedTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            LocationManager_Accessor target = new LocationManager_Accessor(param0); // TODO: Initialize to an appropriate value
            object sender = null; // TODO: Initialize to an appropriate value
            EventArgs e = null; // TODO: Initialize to an appropriate value
            target.lstLocations_SelectedIndexChanged(sender, e);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for LocationManager_Shown
        ///</summary>
        [TestMethod()]
        [DeploymentItem("ResumeBuilder.exe")]
        public void LocationManager_ShownTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            LocationManager_Accessor target = new LocationManager_Accessor(param0); // TODO: Initialize to an appropriate value
            object sender = null; // TODO: Initialize to an appropriate value
            EventArgs e = null; // TODO: Initialize to an appropriate value
            target.LocationManager_Shown(sender, e);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for LoadLocations
        ///</summary>
        [TestMethod()]
        [DeploymentItem("ResumeBuilder.exe")]
        public void LoadLocationsTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            LocationManager_Accessor target = new LocationManager_Accessor(param0); // TODO: Initialize to an appropriate value
            target.LoadLocations();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for InitializeComponent
        ///</summary>
        [TestMethod()]
        [DeploymentItem("ResumeBuilder.exe")]
        public void InitializeComponentTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            LocationManager_Accessor target = new LocationManager_Accessor(param0); // TODO: Initialize to an appropriate value
            target.InitializeComponent();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for EnableTextBoxes
        ///</summary>
        [TestMethod()]
        [DeploymentItem("ResumeBuilder.exe")]
        public void EnableTextBoxesTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            LocationManager_Accessor target = new LocationManager_Accessor(param0); // TODO: Initialize to an appropriate value
            bool enabled = false; // TODO: Initialize to an appropriate value
            target.EnableTextBoxes(enabled);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for Dispose
        ///</summary>
        [TestMethod()]
        [DeploymentItem("ResumeBuilder.exe")]
        public void DisposeTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            LocationManager_Accessor target = new LocationManager_Accessor(param0); // TODO: Initialize to an appropriate value
            bool disposing = false; // TODO: Initialize to an appropriate value
            target.Dispose(disposing);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for cmdSave_Click
        ///</summary>
        [TestMethod()]
        [DeploymentItem("ResumeBuilder.exe")]
        public void cmdSave_ClickTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            LocationManager_Accessor target = new LocationManager_Accessor(param0); // TODO: Initialize to an appropriate value
            object sender = null; // TODO: Initialize to an appropriate value
            EventArgs e = null; // TODO: Initialize to an appropriate value
            target.cmdSave_Click(sender, e);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for cmdNew_Click
        ///</summary>
        [TestMethod()]
        [DeploymentItem("ResumeBuilder.exe")]
        public void cmdNew_ClickTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            LocationManager_Accessor target = new LocationManager_Accessor(param0); // TODO: Initialize to an appropriate value
            object sender = null; // TODO: Initialize to an appropriate value
            EventArgs e = null; // TODO: Initialize to an appropriate value
            target.cmdNew_Click(sender, e);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for cmdDelete_Click
        ///</summary>
        [TestMethod()]
        [DeploymentItem("ResumeBuilder.exe")]
        public void cmdDelete_ClickTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            LocationManager_Accessor target = new LocationManager_Accessor(param0); // TODO: Initialize to an appropriate value
            object sender = null; // TODO: Initialize to an appropriate value
            EventArgs e = null; // TODO: Initialize to an appropriate value
            target.cmdDelete_Click(sender, e);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for cmdCancel_Click
        ///</summary>
        [TestMethod()]
        [DeploymentItem("ResumeBuilder.exe")]
        public void cmdCancel_ClickTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            LocationManager_Accessor target = new LocationManager_Accessor(param0); // TODO: Initialize to an appropriate value
            object sender = null; // TODO: Initialize to an appropriate value
            EventArgs e = null; // TODO: Initialize to an appropriate value
            target.cmdCancel_Click(sender, e);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for LocationManager Constructor
        ///</summary>
        [TestMethod()]
        public void LocationManagerConstructorTest()
        {
            Account userAccount = null; // TODO: Initialize to an appropriate value
            Account userAccountExpected = null; // TODO: Initialize to an appropriate value
            LocationManager target = new LocationManager(ref userAccount);
            Assert.AreEqual(userAccountExpected, userAccount);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
    }
}
